<body>
	<div class="subnav">
		<div class="content-menu ib-a blue line-x">

			<a href='/Focus/'><em>焦点图列表</em></a><span>|</span><a
				href='javascript:;' class="on"><em>添加焦点图</em></a>
		</div>
	</div>
	<div class="pad_10">
		<div class="common-form">
			<form name="myform" enctype="multipart/form-data"
				action="/Focus/add/" method="post" id="myform">
				<table width="100%" class="table_form contentWrap">
					<tr>
						<td><strong>所属分类：</strong></td>
						<td><select id="cate_id" name="cate_id">
								<option value="">--请选择分类--</option>
								<?php
								if(!empty($Catelist)) {
								foreach ($Catelist as $val) {
								?>
								<option value="<?php echo $val['FocusCate']['id'] ?>">
									<?php echo $val['FocusCate']['name'] ?>
								</option>
								<?php }} ?>
						</select></td>
					</tr>
					<tr>
						<td width="80"><strong>标题：</strong></td>
						<td><input type="text" name="title" id="title" size="60px"
							class="input-text"></input></td>
					</tr>
					<tr>
						<td><strong>地址：</strong></td>
						<td><input type="text" name="url" id="url" size="60px"
							class="input-text"></input></td>
					</tr>
					<tr>
						<td><strong>图片：</strong></td>
						<td><input type="file" name="img" id="img" size="60px"
							class="input-text"></input></td>
					</tr>
					<tr>
						<td><strong>排序值：</strong></td>
						<td><input type="text" name="order" id="order"
							onafterpaste="this.value=this.value.replace(/\D/g,'')"
							onkeyup="this.value=this.value.replace(/\D/g,'')" value=""
							size="8" class="input-text" id="email" size="30"></input></td>
					</tr>

					<tr>
						<td><strong>摘要：</strong></td>
						<td><textarea style="width: 50%; height: 70px;" id="content"
								name="content"></textarea></td>
					</tr>
					<tr>
						<td><strong>审核状态：</strong></td>
						<td><input type="radio" value="1" name="status">&nbsp;已审核&nbsp;&nbsp;&nbsp;
							<input type="radio" checked="checked" value="0" name="status">&nbsp;未审核&nbsp;&nbsp;&nbsp;</td>
					</tr>
				</table>
				<div class="bk15"></div>
				<input name="dosubmit" type="submit" value="提交" class="button">
			</form>
		</div>
	</div>
</body>